Clip

GNUPLOT can clip (actually, not plot at all) data points that fall within but too close to the boundaries (this is so the large symbols used for points will not extend outside the boundary lines). To turn on clipping, use set clip points. To turn it back off, use set noclip points. The default is noclip. Without clipping you may have points near the boundaries that look bad; try adjusting the x and y ranges.

Syntax:

        set clip points
        set noclip points
GNUPLOT can also clip lines that connect a point that is in range with a point that is out of range. The default is to draw the in-range portion of such lines (i.e., to ``clip'' them). With the following syntax, the default is set clip one. The alternative (set noclip one) is to not draw any portion of the line segment. In no case is a line drawn outside the plotting area.

Syntax:

        set clip one
        set noclip one
GNUPLOT does not show lines that are wholly out of range. Some lines may have both endpoints out of range, but pass through the plotting area. By default, GNUPLOT does not draw these lines (set noclip two). They may be drawn (and clipped) with set clip two. Syntax:
        set clip two
        set noclip two
To check the state of all forms of clipping, use
        show clip
The following forms are also permitted. These allow backward compatibility with older versions.
       set clip
       set noclip
set clip is synonymous with set clip points. set noclip turns off all three types of clipping (points, one, and two).